import request from '@/utils/request'

// 查询干燥流化床车间样品光谱列表
export function listDfb_spectrum(query) {
  return request({
    url: '/spectrum/dfb_spectrum/list',
    method: 'get',
    params: query
  })
}

// 查询干燥流化床车间样品光谱详细
export function getDfb_spectrum(sampleSpectrumDfbId) {
  return request({
    url: '/spectrum/dfb_spectrum/' + sampleSpectrumDfbId,
    method: 'get'
  })
}

// 新增干燥流化床车间样品光谱
export function addDfb_spectrum(data) {
  return request({
    url: '/spectrum/dfb_spectrum',
    method: 'post',
    data: data
  })
}

// 修改干燥流化床车间样品光谱
export function updateDfb_spectrum(data) {
  return request({
    url: '/spectrum/dfb_spectrum',
    method: 'put',
    data: data
  })
}

// 删除干燥流化床车间样品光谱
export function delDfb_spectrum(sampleSpectrumDfbId) {
  return request({
    url: '/spectrum/dfb_spectrum/' + sampleSpectrumDfbId,
    method: 'delete'
  })
}
